package com.example.plan.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.plan.common.PageRequest;
import com.example.plan.common.result.Result;
import com.example.plan.model.dto.order.OrderDTO;
import com.example.plan.model.entity.Order;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.plan.model.vo.OrderVO;

import java.util.List;

/**
* @author ASUS
* @description 针对表【order(订单表)】的数据库操作Service
* @createDate 2025-03-01 19:07:17
*/
public interface OrderService extends IService<Order> {

    Result<Order> createOrder(Order order);

    Result<Void> updateOrder(OrderDTO order);

    Result<Void> deleteOrder(Long orderId);

    Result<Order> getOrder(Long orderId);
}
